home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970104-19970326
/
000370_news@columbia.edu _Thu Mar 6 09:53:45 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA12384
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 6 Mar 1997 09:53:45 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA06492
for kermit.misc@watsun; Thu, 6 Mar 1997 09:53:44 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Connecting K95 to a port opened by another programm?
Date: 6 Mar 1997 14:53:38 GMT
Organization: Columbia University
Lines: 45
Message-ID: <5fmlpi$9r5$1@apakabar.cc.columbia.edu>
References: <331e3232.24522307@news.fu-berlin.de>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6706
In article <331e3232.24522307@news.fu-berlin.de>,
Joachim von Jena <jvjena@cs.tu-berlin.de> wrote:
: I have to understand more of the host-mode scripts of K95 because I
: want to modify them to embed the K95-Hostmode into the Hostmode of the
: brandnew BGFAX32 programm. BGFAX32 for Win95/NT (like BGFAX for DOS)
: can handle the so called "adaptive answering" mode of newer modems.
:
: (please see http://www.blkbox.com/~bgfax
: for more information on BGFAX of B.J.Guillot)
:
: BGFAX handles the fax calls by itself and passes data calls to
: another terminal-programm which is called by a BGFAX batchfile.
: Therefore it would be necessary for K95 in hostmode _not_ to
: (auto-)answer a call but to handle an already open COM-port.
:
: My question is:
:
: Is this possible simply by replacing the command "answer" near the end
: of the the hostmdm.ksc script by a "connect" to achieve this?
:
: (I did not find an _exact_ definition of the "answer" command of K95.
: I would gess "answer" is equivalent to "output \v(m_aa_on)")
:
It's a lot more than that -- it also invokes the modem-specific code to
read and handle messages from the modem, and to return appropriate success
or error codes. It also can time out after any interval you specify, etc.
You'll note that the hostmode script (host.ksc) is independent of the
connection type, and is "front-ended" by a collection of short scripts for
each type of connection: hostmdm.ksc for modems, hosttcp.ksc for TCP/IP, etc.
Each of these scripts "receives" a connection, but in a different way, and
then the main script just uses it.
In order for another *program* to invoke the host-mode script, it will need
to pass the file descriptor of the open COM port to K95. Something like:
d:\k95\k95 hostmode.ksc -l n
where "n" is a number. You can't just give the COM port device name, because
I don't think Windows will let a second application open the same COM port.
We'll be happy to work with you on this; if you have any further questions,
send them by email to kermit-support@columbia.edu.
- Frank